Skip to content

Issue 150#151

Open
rguske wants to merge 1 commit into
openshift-examples:mainfrom
rguske:issue-150
Open

Issue 150#151
rguske wants to merge 1 commit into
openshift-examples:mainfrom
rguske:issue-150

Conversation

@rguske
Copy link
Copy Markdown
Collaborator

@rguske rguske commented May 12, 2026

Update Disconnected Cluster Installation.

@rguske rguske requested a review from rbo May 12, 2026 14:07
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment Success! View your live changes here: https://edeb0a3e.openshift-examples.pages.dev\n\nUploading... (352/507)
Uploading... (403/507)
Uploading... (455/507)
Uploading... (507/507)
✨ Success! Uploaded 155 files (352 already uploaded) (4.30 sec)

🌎 Deploying...
✨ Deployment complete! Take a peek over at https://edeb0a3e.openshift-examples.pages.dev
✨ Deployment alias URL: https://pr-151.openshift-examples.pages.dev

Copy link
Copy Markdown
Member

@rbo rbo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's an awesome overview. Some tiny changes. ;-)

Comment thread content/cluster-installation/disconnected/assets/.DS_Store Outdated
Comment thread content/cluster-installation/disconnected/disconnected-installation.md Outdated
Comment thread content/cluster-installation/disconnected/disconnected-installation.md Outdated
Comment thread content/cluster-installation/disconnected/disconnected-installation.md Outdated
Comment thread content/cluster-installation/disconnected/disconnected-installation.md Outdated
Comment on lines +696 to +727
Paste the content in the file pull-scret. Then:

`cat ./pull-secret | jq . > $(pwd)/pull-secret.json`

Replace the existing `auth.json` file in $XDG_RUNTIME_DIR/containers/

```code
sudo mv pull-secret.json $XDG_RUNTIME_DIR/containers/auth.json
```

Next up is to generate the base64-encoded user name and password or token for your mirror registry by running the following command:

`echo -n '<user_name>:<password>' | base64 -w0`

For <user_name> and <password>, specify the user name and password that you configured for your registry.

Example:

`echo -n 'init:r3dh4t1!' | base64 -w0`

Edit the JSON file and add a section that describes your registry to it:

```json
"auths": {
"rguske-rhel9-disco-bastion.rguske.coe.muc.redhat.com:8443": {
"auth": "aW5pdDpyM2RoNHQxIQ==",
"email": "rguske@redhat.com"
},
"cloud.openshift.com": {

[...]
```
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 oc-mirror, meanwhile, look into $XDG_RUNTIME_DIR/containers/auth.json and not in ~/.docker/config.json ?

A much easier way to adjust the auth.json

cp pull-secretc.json $XDG_RUNTIME_DIR/containers/auth.json
podman login --authfile $XDG_RUNTIME_DIR/containers/auth.json --username .. rguske-rhel9-disco-bastion.rguske.coe.muc.redhat.com:8443

I know we have this steps in the docs. I find that very error-prone, though.

Copy link
Copy Markdown
Collaborator Author

@rguske rguske May 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oc-mirror, meanwhile, look into $XDG_RUNTIME_DIR/containers/auth.json and not in ~/.docker/config.json ?

There's no ~/.docker/config.json in this doc. I don't know where you've seen it.

Mine is from our docs!

Closes: openshift-examples#150
Signed-off-by: Robert Guske <robert.guske@gmail.com>
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment Success! View your live changes here: https://bbcf36c6.openshift-examples.pages.dev\n\nUploading... (502/507)
Uploading... (503/507)
Uploading... (505/507)
Uploading... (507/507)
✨ Success! Uploaded 5 files (502 already uploaded) (1.76 sec)

🌎 Deploying...
✨ Deployment complete! Take a peek over at https://bbcf36c6.openshift-examples.pages.dev
✨ Deployment alias URL: https://pr-151.openshift-examples.pages.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants